<?php
$url='http://localhost/abook/index.php/client/search';
//$str=array('sk'=>'C#','page'=>1);
//$body=json_encode($str);
$body="sk=&page=1";
$options=array('method'=>'POST','content'=>$body);
$context=stream_context_create(array('http'=>$options));
print file_get_contents($url,false,$context);
?>
